@charset "utf-8";

body{
    display: flex;
    flex-direction: column;
    background-color: #eee;
}


/* 头部 */
header{
    padding: 10px 0;
    background-color: #845d32;
}
header .logo img{
    height: 30px;
}
header .logo div{
    width: 80%;
    display: inline-block;
    position: relative;
}
header .logo input{
    width: 100%;
    height: 30px;
    border: 0;
    outline: 0;
    border-radius: 20px;
    margin-left: 5px;
    text-indent: 30px;
}
header i{
    position: absolute;
    left: 15px;
    top: calc(50% - 8px);
    color: #444;
}


/* 主体内容 */
main{
    flex: 1;
    overflow-y: auto;
}
.swiper{
    width: 100%;
}
.swiper-wrapper img{
    width: 100%;
}
/* 分类列表 */
main .list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 14px;
}
main .list>li{
    width: 20%;
    text-align: center;
    margin: 10px 0;
}
main .list li img{
    width: 70%;
}
/* 活动专栏 */
main .activity{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    /* width: 100%; */
    font-size: 14px;
    margin-bottom: 15px;
}
main .activity li{
    width: 24.3%;
    background-color: #fcfcfc;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 10px;
}
main .activity li img{
    width: 100%;
}
main .activity li p{
    margin: 6px 0 2px;
}
main .activity li span{
    display: block;
    font-size: 12px;
    line-height: 20px;
    background: linear-gradient(to right,#fa0,#f80);
    color: #fff;
    border-radius: 12px;
}
/* 众筹部分 */
main .zhongchou{
    background-color: #fcfcfc;
    padding: 8px;
    box-sizing: border-box;
    border-radius: 15px;
}
/* 标题共用 */
main .title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}
main .title p{
    font-size: 20px;
    position: relative;
}
main .title p::after{
    content: "1元支持";
    color: #fff;
    background-color: #cd8c39;
    font-size: 14px;
    width: 52px;
    padding: 0 8px;
    margin-left: 5px;
    border-radius: 3px;
    position: absolute;
    top: 4px; 
}
main .title span{
    font-size: 14px;
    color: #666;
}
/* 众筹内容 */
main .zhongchou .zhongchou-content{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
/* 众筹左边内容 */
main .zhongchou-content .zhongchou-content-left{
    width: 49%;
    background: #ebc28a;
    border-radius: 10px;
    font-size: 14px;
}
main .zhongchou-content-left .left-content{
    background-color: #fffaf2;
    padding: 4px;
}
main .zhongchou-content-left .left-content-top{
    display: flex;
    justify-content: space-between;
}
main .zhongchou-content-left .left-content-top div{
    width: 50%;
} 
main .zhongchou-content-left .left-content-top div p{
    margin-bottom: 10px;
}
main .zhongchou-content-left .left-content-top img{
    width: 50%;
}
main .zhongchou-content-left .left-content-bottom{
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-top: 10px;
}
.price{
    font-size: 16px !important;
    color: #d08d35;
    font-weight: bold;
    display: block;
}
.price::before{
    content: "￥";
    font-size: 12px;
}

/* 众筹右边内容 */
main .zhongchou-content .zhongchou-content-right{
    width: 50%;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}
main .zhongchou-content-right li{
    width: 50%;
    text-align: center;
    padding: 6px 0 0;
}
main .zhongchou-content-right li img{
    width: 87%;
    /* margin-bottom: 10px; */
}
main .zhongchou-content-right li p{
    /* margin-bottom: 10px; */
}

/* 上新精选 */
main .new{
    background-color: #fcfcfc;
    padding: 8px;
    box-sizing: border-box;
    border-radius: 15px;
    margin-top: 15px;
}
main .new .title p::after{
    content: "";
}
main .new  li{
    width: 24.2%;
    padding: 15px 0;
    text-align: center;
}
main .new  li:nth-child(1){
    background-color: #edf6f8;
}
main .new  li:nth-child(2){
    background-color: #fcf7f1;
}
main .new  li img{
    width: 100%;
}
/* 有品秒杀 */
main .sale{
    background-color: #fcfcfc;
    padding: 8px;
    box-sizing: border-box;
    border-radius: 15px;
    margin: 15px auto;
    font-size: 14px;
}
main .sale .title p::after{
    content: "";
}
main .sale ul{
    display: flex;
    justify-content: space-between;

    width: 100%;
}
main .sale li{
    width: 24.5%;
}
main .sale li div{
    width: 100%;
    background-color: #f3f3f3;
    text-align: center;
}
main .sale li div img{
    width: 80%;
}
main .sale li p{
    margin: 10px 0;
    padding-left: 5px;
    font-size: 14px;
    color: #f00;
    font-weight: bold;
}
main .sale li p span{
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    font-weight: normal;
}


/* 页脚内容 */
footer{
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 55px;
    padding: 4px;
    box-sizing: border-box;
    background-color: #fff;
    font-size: 12px;
}
footer div{
    width: 15%;
    text-align: center;
}
footer div i{
    display: block;
    font-size: 22px !important;
    color: #444;
}
